"use strict";
const common_vendor = require("../common/vendor.js");
const __default__ = {
  options: {
    addGlobalClass: true,
    virtualHost: true,
    styleIsolation: "shared"
  }
};
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  ...__default__,
  __name: "DemoBlock",
  props: {
    // 标题
    title: {
      type: String,
      default: ""
    },
    // 自定义类名
    customClass: {
      type: String,
      default: ""
    },
    // 垂直间距
    ver: {
      type: [Number, String],
      default: 10
    },
    // 水平间距
    hor: {
      type: [Number, String],
      default: 15
    },
    // 是否透明
    transparent: {
      type: Boolean,
      default: false
    }
  },
  setup(__props) {
    const props = __props;
    const style = common_vendor.computed(() => {
      return `margin: 0 ${props.hor}px;padding:${props.ver}px 0;`;
    });
    return (_ctx, _cache) => {
      return {
        a: common_vendor.t(__props.title),
        b: common_vendor.s(__props.transparent ? "" : common_vendor.unref(style)),
        c: common_vendor.n(__props.transparent ? "" : "bg-white dark_a_bg-_a_var_a_--wot-dark-background2_a__a_"),
        d: common_vendor.n(__props.customClass)
      };
    };
  }
});
wx.createComponent(_sfc_main);
